package com.qfjy.homework.limingwei.dynamic;

import com.qfjy.homework.limingwei.staticProxy.Image;
import com.qfjy.homework.limingwei.staticProxy.RealImage;

/**
 * @author : LIMINGWEI
 * @version : 1.0
 * @date : 11/10/22 7:56 PM
 */
public class DynamicProxyDemo {
    public static void main(String[] args) {
        RealImage image = new RealImage();
        DynamicProxyUtils utils = new DynamicProxyUtils(image);
        Image proxy = (Image) utils.getProxy();
        proxy.display();
    }
}
